<?php
 $loader->requireOnce('includes/emrCore/ISelectionPanelBuilder.class.php');
class PanelSelectBox implements ISelectionPanelBuilder {
	    
    public function buildSelectionPanel($controller, $recordId, $listOfMappedDepartments, $listOfMedicalRecordItems, $selectedDep, $selectedEmr) {    	
    	$controller->assign('recordId',$recordId);
 		$controller->assign('listOfDep',$listOfMappedDepartments); 		
 		$controller->assign('listOfEmr',$listOfMedicalRecordItems);
 		$controller->assign('selectedDepId',$selectedDep);
 		$controller->assign('selectedEmrId',$selectedEmr); 		
 		return $controller->view->render('selection_combobox.html');	
    	
    }
}
?>